// 闭包的行为复制函数
function originalFunction(a, b) {  
    return a + b;  
  }  
  
  function createFunctionCopy(original) {  
    return function(...args) {  
        return original.apply(this, args);  
    };  
  }  
  
  const newFunction = createFunctionCopy(originalFunction);  
  
  console.log(newFunction(1, 2)); // 输出: 3